Airwallex\Client\AbstractClient D

Total Complexity 127
Dependencies 19
Dependents 2
Total lines 777
Lines of code 606
Logical lines of code 234
Comment lines 79
Methods 31
Properties 7

Methods 31

Method Rating Maintainability Complexity Lines of code
createPaymentIntent()
D
20
46 192
startPaymentSession()
A
48 7 32
getToken()
S
58 7 16
doAuth()
S
52 6 26
testAuth()
S
53 6 22
createRefund()
S
49 4 31
createPaymentConsent()
S
50 4 28
confirmPaymentIntent()
S
53 4 22
createCustomer()
S
53 3 24
updateCustomer()
S
53 3 24
getCustomer()
S
53 3 24
getPaymentIntent()
S
56 3 18
createCustomerClientSecret()
S
56 3 18
getMetaData()
S
60 3 12
capture()
S
55 2 21
getAccount()
S
58 2 17
getInstance()
S
71 2 6
getGeneralUrl()
S
78 2 3
getLogUrl()
S
78 2 3
getCacheService()
S
71 2 6
savePaymentIntentToCache()
S
67 2 7
getCachedPaymentIntent()
S
68 2 7
getPaymentConsent()
S
62 1 12
__construct()
S
71 1 5
getPaymentDescriptor()
S
79 1 3
setClientId()
S
81 1 3
setApiKey()
S
81 1 3
setIsSandbox()
S
81 1 3
getHttpClient()
S
80 1 3
getAuthorizationRetryClosure()
S
70 1 7
getReferrer()
S
68 1 8